import Child1 from "./Child1"
import Child2 from "./Child2"
import { useState } from "react"
export default function () {
    // const [data, setData] = useState('')
    // function getData(res) {
    //     setData(res)
    // }
    const [list, setList] = useState(['html', 'css', 'js'])
    return (
        <div>
            <Child1 setList={setList} />
            <Child2 list={list} />
        </div>
    )
}